<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Compression worker test</title>
  <script type="text/javascript" src="library/jquery.js"></script>
  <script type="text/javascript" src="library/base64.js"></script>
  <script type="text/javascript" src="library/deflate.js"></script>  
  <script type="text/javascript" src="library/test.js"></script>  
  <script type="text/javascript">
    Test.init();
    $(document).ready(function()
    {
      $("#compress").click(Test.compress.bind(Test));
      $("#decompress").click(Test.decompress.bind(Test));
      $("#decompress-specified").click(function()
      {
    	  Test.decompressBase64($("#base64").val());
      });
    });
  </script>
</head>
<body>
  <div id="page">
    <a href="#" id="compress">compress</a>
    <a href="#" id="decompress">decompress</a>
    <br/>
    <br/>
    <textarea id="base64"></textarea>
    <br/>
    <a href="#" id="decompress-specified">decompress</a>
  </div>
</body>
</html>